<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: libs/error.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6719ab1f1f7655efc2fa43f7eb574fd1.html">libs</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">error.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="error_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef __LIBS_ERROR_H__</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define __LIBS_ERROR_H__</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160; </div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">/* kernel error codes -- keep in sync with list in lib/printfmt.c */</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="error_8h.html#ae4e1b15f1b7ac2d7f4bab00e80bdfb1b">    5</a></span>&#160;<span class="preprocessor">#define E_UNSPECIFIED       1   </span><span class="comment">// Unspecified or unknown problem</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"><a class="line" href="error_8h.html#acae98ec2a22e70830049c34e3c1e1606">    6</a></span>&#160;<span class="preprocessor">#define E_BAD_PROC          2   </span><span class="comment">// Process doesn&#39;t exist or otherwise</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="error_8h.html#ae40ab627615d211f3f276ce105b03eae">    7</a></span>&#160;<span class="preprocessor">#define E_INVAL             3   </span><span class="comment">// Invalid parameter</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="error_8h.html#af1e88709fee8687ef4a7586df77f2453">    8</a></span>&#160;<span class="preprocessor">#define E_NO_MEM            4   </span><span class="comment">// Request failed due to memory shortage</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="error_8h.html#aa5f4fee88b85900fd2221538f5e8c93b">    9</a></span>&#160;<span class="preprocessor">#define E_NO_FREE_PROC      5   </span><span class="comment">// Attempt to create a new process beyond</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="error_8h.html#a91cecb961b28a69e041b8178f8f36da7">   10</a></span>&#160;<span class="preprocessor">#define E_FAULT             6   </span><span class="comment">// Memory fault</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160; </div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">/* the maximum allowed */</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="error_8h.html#a1e180be6d62e5412353162d2917de91b">   13</a></span>&#160;<span class="preprocessor">#define MAXERROR            6</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160; </div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* !__LIBS_ERROR_H__ */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160; </div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
